package com.topvision.service.impl.ar;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.ar.ImageRecognitionMapper;
import com.topvision.model.ar.ImageRecognition;
import com.topvision.service.ar.ImageRecognitionService;

@Service("imageRecognitionService")
public class ImageRecognitionServiceImpl implements ImageRecognitionService {
	@Autowired
	private ImageRecognitionMapper imageRecognitionMapper;
	
	@Override
	public ImageRecognition queryObject(Long id){
		return imageRecognitionMapper.queryObject(id);
	}
	
	@Override
	public List<ImageRecognition> queryList(Map<String, Object> map){
		return imageRecognitionMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return imageRecognitionMapper.queryTotal(map);
	}
	
	@Override
	public void save(ImageRecognition imageRecognition){
		imageRecognitionMapper.save(imageRecognition);
	}
	
	@Override
	public void update(ImageRecognition imageRecognition){
		imageRecognitionMapper.update(imageRecognition);
	}
	
	@Override
	public void delete(Long id){
		imageRecognitionMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		imageRecognitionMapper.deleteBatch(ids);
	}
	
}
